prints out number of packets in the last second