Add user count function