dbmis_users: calculate users by clinics