Expand description
Mode detection + operator classification for the count query.
Pure functions on the where-clause shape + request flags — no Drive, no contract, no indexes. Used both server-side (to pick an executor) and verifier-side (to validate the request before attempting verification).