def nonSynonCount(t):
  """ count the number of nonsynon labels in the transcript annotations.
  """
  count = 0
  for a in t.annotations:
    for l in a.labels:
      if l == 'nonsynon':
        count += 1
  return count