Currently, aggregate query options for timestamp and date typed properties are not available in both GraphQL and SDK. Additionally, there is no method to aggregate by a time range, such as monthly or weekly, similar to here available for timeseries.

Using 'groupBy' with a timestamp/date field, it would be feasible to aggregate data from a data model view by timestamp/date fields, group them by daily granularity, and display the count of a record for each day.
Related to this topic.