added a total sample count to the top of the output on the left.