Record "started" counter for queries that fail to parse

In the last release we started tracking parsing failures for error categorization,
but the change was missing the call to increment the started counter.

As a result, the started and completed counters get permanently out of sync
and cause the number of running queries to be reported as 0.
Improve unit tests for approximate aggregations
Add closed form approximate COUNT aggregation
Add closed form approximate SUM aggregation