feat(client): add optional dataset parameter to count_by_dataset

7 jobs for main
in 0 seconds and was queued for 1 minute and 55 seconds