very initial code for count_in_file