select count(var_id) as sum from variant where ((Start between 1714347 and 1761974 and Chr="chrX" and Gene_symbol like "ASMT%") or (Start between 1683940 and 1711974 and Chr="chrY" and Gene_symbol like "ASMT%"))