use size_t for expected result count