XG:COUNT(C AND C-O>H-C AND ((OO AND H>REF(C,1)*1.065 AND C>REF(C,1)*1.04) OR (O<=REF(L,1) AND C>REF(C,1)*1.03 AND C>O*1.04));