$count(regex) syntax is already defined by FormattedSearchRegexCountVariable (see details of feature as implemented here), I would propose using simply $count (without parenthesis or regex) to return the count of topics found.
| ChangeProposalForm | |
|---|---|
| TopicClassification | FeatureRequest |
| TopicSummary | Add varaible to FormattedSearch that returns number of topics found |
| CurrentState | UnderInvestigation |
| OutstandingIssues | |
| RelatedTopics | FormattedSearchRegexCountVariable, PrecalculateSearchResultCount, AttachmentCount |
| InterestedParties | |
| ProposedFor | EdinburghRelease |
| TWikiContributors | |