Counts events by status. To learn about working with query endpoints, see API Query Language, Sorting and Paging, and Field Projection.