counter displayed in console