reads in a file and determines how many queries there are per hour