Fix prepareTotalCount() support elasticsearch 7.x
Fix prepareTotalCount() support elasticsearch 7.x

Fix the return value of prepareTotalCount() in ActiveDataProvider to support elasticsearch 7.x
yiisoft/yii2-elasticsearch,yiijan/yii2-elasticsearch