Sorry, I formulated it wrong.
My problem is, that I want to count the ranges for every user, but if I use count(range), it counts the ranges of all users.
 
Janek Sendrowski