rewritten counters

history top container is ready for styling