move counter element into container