to get the number of authors who are assigned a particular role the get_users()
function should do it:
$args = array(
'role' => 'frontend_vendor',//substitute your role here as needed
'fields' => 'ID',
);
$users = get_users( $args );
$user_count = count( $users );