$users = Get-ADGroupMember -Identity 'Group Name'
$users.count

This will then return the total number of users in the group.




Image result for windows powershell logo