added frame counter

received, dropped and error frames are counted and output at destruction time