We can not call `$query->count($this->db)` in ActiveDataProvider anymore.
https://github.com/yiisoft/yii2/blob/master/framework/yii/data/ActiveDataProvider.php#L161
When someone relys on the interface all implementations should have the parameters defined by interface. If they add more after that it is no problem but the onces in interface must be the same.