We have the public properties:

    WP_Query->found_posts
    WP_Comment_Query->found_comments
    WP_Network_Query->found_networks
    WP_Site_Query->found_sites

but then comes this private property (that's also made public via magic getter):

    WP_User_Query::$total_users

so the confusion is natural :-)

Look into the public `get_total()` method that and the `count_total` bool attribute in the [docs][1].


 


  [1]: https://developer.wordpress.org/reference/classes/wp_user_query/#total-count-parameter