Include params object when counting query duplicates.