added function that updates record, site, species, and year counts in the summary table