iptraf will do the work for you.. It simply sniffs traffic and gives you some numbers and statistics on the number / type of packets.

http://iptraf.seul.org/

Or of course you could throw together a quick PERL script that stored the stats of TCPdump in a flatfile in any format you want, this way you can generate charts, graphs or stats yourself.

;-)

Loyal.