male and female counting working