Computing the query memory size when adding or removing a percolate query instead of computing the memory size on each stats call.