Looks like which is mouth of measure word for things with a mouth Here it's seen on a train because we've got a bunch of animals, since it's a measure wordAlso:
  • measure word for some utensils
  • one of a pair