Get directory user count

Returns the count of users in a specific directory.