added stats to query results
Merge branch 'release'