specify number of query workers