add documentation for the count factor method
fix a typo