feat(client): add optional dataset parameter to count_by_dataset

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