add counter of dropped packets; write counter change to csv file