Control total/dupes with query params