Added class file for counterAdapter