UI Counter Update Def Qry Fix

UI Counter Update Def Qry Fix