Some renaming
Removed <stdio.h> (used for debugging)
Moved 2 lines
Count() to Count