Add support for "countBy" to `Model::__callStatic()` (see #5984)