Create a type view Users(and NOT Nodeas usual). Now add a filter. Select a group Usersfrom the drop-down list of filters. Select a filter User: Roles. Set the operator is none ofand check the editor, corrector, etc. Thus, you will ONLY see registered users on your site.
(By the way, you can always set this filter to control what roles you want to see or don't want to see in the list)
Additional question: how to count users
Enable the PHP filter module, add the following to the view header (with the input format selected as the PHP filter) and paste the following code:
<?php
$view = views_get_current_view();
print count($view->result)." Users";
?>
source
share