number of packets calculated