Update bpviewd.pl

Counter added.