code: def get_gain_loss_summary(vcffile):
      
      from cyvcf2 import VCF
  
      counter = Counter()
      for v in VCF(vcffile):
          tag = v.ID.split(":")[1]
          counter[tag] += 1
  
      return counter
docs: Extract Canvas:GAIN/LOSS/REF/LOH tags