Query count metrics