How to get flow count?

I’m running a flow on a regular schedule and am looking to programmatically get the number of times the flow has run.

I found prefect.runtime and thought that prefect.runtime.flow_run.count
(flow_run - Prefect Docs) might have been what I’m looking for, but it turns out those counters are the number of times a specific flow run has been executed (think counting retries of a flow run). Instead I’m looking for the total number of times a specific flow has been run across all flow runs. Does anyone know of a way to get this information?

For my particular use case, the flow only runs a single task. So knowing the number of times a specific task has run would also work – just in case that’s easier to get than the flow count