programming question 2 - missing test count