private IEnumerable <uint> QuerySubFingerprints(int[] hashes, int thresholdVotes) { var results = new List <uint> [hashes.Length]; for (int table = 0; table < hashes.Length; ++table) { int hashBin = hashes[table]; results[table] = storage.GetSubFingerprintsByHashTableAndHash(table, hashBin); } return(groupingCounter.GroupByAndCount(results, thresholdVotes)); }