Add couter to theme output