-record(get_aggregate_stats, { aggregate_id :: binary(), reply_to :: gleam@erlang@process:subject({ok, eventsourcing:aggregate_stats()} | {error, eventsourcing:event_sourcing_error(any())}) }).