checking to see if counts match up