Tried to attach example...wouldn't let me

Trying to figure out how many times an employee, (i.e. Eric or Dave) falls between the parameters 0-5 and greater than 5.

thanks for your help!

A B
Eric 1
Eric 5
Eric 3
Eric 6
Dave 4
Dave 7
Dave 8
Dave 1