public function getAttachmentsCount()
    {
        $strURI = Product::$baseProductUri . '/pdf/' . $this->getFileName() . '/attachments';
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');
        $json = json_decode($responseStream);
        return count($json->Attachments->List);
    }