Changed calculation of page count

Changed the calculation from visual page size to number of words. 300 is the default, which is a reasonable estimate of the number of words on a page in a novel. 

I am not sure if this is a desired change. A page_count_mode parameter could be introduced in order to switch the behavior.

Best regards,
Nick