count network packets