SharePoint - web usercount

# Purdon, god of SharePoint things
# recently sent me this tid-bit for when you are considering
# how many licenses you might need, this info might be useful!

$SPUserCollection = $SPweb.AllUsers
$UserCount = $SPUserCollection.Count
write-output " Users in WEB: $UserCount"