Postgres lowering max_connection
It is the number of connections.  It is not the number of users, as one user can have many connections concurrently and each one counts against max_connections.  And you can also have many more users than connections, as long as users are not permanently connected.