fixes #303 Allow zero count in assertQueryCount