pub async fn count_subscriptions_for_did(
pool: &SqlitePool,
did: &str,
) -> Result<i64>Expand description
The number of feeds a did currently subscribes to (its sub_ref rows).
Backs the per-DID subscription cap enforced at the add/import paths.