def create_counter(I_arr, E_arr, R_arr, Q_arr, S_arr, n_infected_tested, n_neighbors_traced, n_neighbors_tested, n_general_tested):
	"""Counts number of individuals in each group.

	Returns a dict from group name to sum of its indicator array.
	"""
	
	return dict(infected=I_arr.sum(),exposed=E_arr.sum(),recovered=R_arr.sum(),quarantined=Q_arr.sum(),susceptible=S_arr.sum(),n_infected_tested=n_infected_tested,n_neighbors_traced=n_neighbors_traced,n_neighbors_tested=n_neighbors_tested,n_general_tested=n_general_tested)