Update BaseCounter.pl