Add code to track berth statistics. Does not work yet.