Add BartCounter class