added packet count to statistics