Fixed issue with using old hits.total format.

14 jobs for 767-elasticsearch-upgrade-for-v0-x in 31 minutes and 23 seconds (queued for 3 seconds)