Refactor Count module

Hi guys! I really like Betty, so I decided help you to make it more stable and maintainable.

I've refactored the `Count` module and created unit tests for it.

I'll keep on working with other modules.

Thanks for your work on Betty!