Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The user count was coming up wrong and by looking through the code and removing this line from the advuser.module file, line 505:
$users_roles_alias = $query->leftJoin('users_roles', 'ur', '%alias.uid = u.uid');
I was able to fix it. It appears that line's join statement was changed from when $sql was returned to the current version where $query is returned, looking a few lines above that to teh switch statement where the count sql is assembled.