simple counter creation