public function getStats(array $options = array())
    {
        $resolver = new OptionsResolver();
        $resolver
            ->setDefaults(array(
                'includeTextInShapes' => 'true',
            ))
            ->setDefined(array(
                'includeFootnotes', 'includeComments',
            ))
        ;
        $options = $resolver->resolve($options);

        //build URI to get document statistics including resolved parameters
        $strURI = Product::$baseProductUri . '/words/' . $this->getFileName() . '/statistics?' . http_build_query($options);
        
        AsposeApp::getLogger()->info('WordsDocument getStats call will be made', array(
            'call-uri' => $strURI,
        ));

        //sign URI
        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');

        $json = json_decode($responseStream);

        if ($json->Code == 200) {
            return $json->StatData;
        }
        
        AsposeApp::getLogger()->warning('Error occured, http 200 code was not found.', array(
            'json-code' => $json->Code,
        ));
        return false;
    }