Implement and display statistics.