Finished half of this exercise on counting within files