Got the num trips working ok.

Needs refactor.
Could use graph.
Time for the next one.