def get_bond_type_counts(bond_types):
  """ Returns a count on the number of bonds of each type. """
  count = {}
  for bt in bond_types:
    if bt in count.keys():
      count[bt] += 1
    else:
      count[bt] = 1
  return count