pub fn count_detailed(
model: &str,
body: &[u8],
map: Option<&Value>,
registry: RegistryHandle<'_>,
) -> CountResultExpand description
Count with provenance and diagnostics. Unlike count, malformed JSON is
never indistinguishable from a genuinely empty request: it falls back to a
conservative estimate over the raw body and records warnings.