-- numeric fast field
SELECT COUNT(*) FROM stackoverflow_posts WHERE body ||| 'error';

-- aggregate custom scan
SET paradedb.enable_aggregate_custom_scan TO on; SELECT COUNT(*) FROM stackoverflow_posts WHERE body ||| 'error';

-- pdb.agg without GROUP BY
SELECT pdb.agg('{"value_count": {"field": "ctid"}}') FROM stackoverflow_posts WHERE body ||| 'error';

-- pdb.agg without GROUP BY (mvcc disabled)
SELECT pdb.agg('{"value_count": {"field": "ctid"}}', false) FROM stackoverflow_posts WHERE body ||| 'error';
