public countPlan(plan as QueryPlanBase) as Long
Executes an exact provider-side count where possible.
plan
Exact result count.
total = source.countPlan(plan)