pub async fn count( adapter: &dyn EngineAdapter, selector: &str, ) -> Result<usize, EngineError>
Count the number of elements matching a selector.
adapter
selector
The number of matching elements