Sentry analytics

What table I can query to get data related to events? I reckon it is sentry_message table. But my data varies significantly that is shown on the project page. Essentially, events received is different from the number of events in the sentry_message table.

I want to look at the number of events received data per project in a custom time window.