One way of getting statistics about your Discord server is by inviting a server stats bot that keeps track of a number of different metrics. Usually, these stats will be displayed in a small widget in your channel list. Alternatively, you can also access private server analytics via the Discord Developer Portal.