pull test counts by revision first, then iterate over all tests by revision (less calls to ES)
fixes