Count Salary Categories Problem