Completed and modularized
count.txt changed