I think you should put both of the employees into a arraylist and getting the size of the arraylist. I dont think that this is going to work
Employee.getNumEmployees();
So maybe something like this?
ArrayList<Employee> employees = new ArrayList();
employees.add(new Employee("Mary", "Noia", 'F' , 5 , 24000.0));
//etc...