gras: rename stats to query