Parallelise the count and data queries