Count the ways

There are no loose ends in this story.