Test studentCount for null condition.