added tcpdumpcount function from NATT guys