integer query of duplicateCount