[rules-users] how to count distinct nested property?