get all counts
parameters for getting counts