logging count of rows examined