If you simply want to track site visitors, there are many good plugins which are easy to set up for that. You could also try Google Analytics and many hosts also provide some form of visitor tracking.
That all said, there appear to be two parts to this.
The upper part (wide area with flags)… That part is this (minus the paragraph tags – they will not be required):
<a href="https://s07.flagcounter.com/more/SGYj"><img src="https://s07.flagcounter.com/count/SGYj/bg_FFFFFF/txt_000000/border_CCCCCC/columns_8/maxflags_248/viewers_0/labels_1/pageviews_1/flags_1/" alt="free counters" border="0"></a>
Try: the first part in the footer by including it in a text widget of middle footer widget area and the globe part:
<script type="text/javascript" src="https://je.revolvermaps.com/r.js"></script><script type="text/javascript">rm_f1st('0','220','true','false','000000','4od8mlz96cs','true','ff0000');</script><noscript><applet codebase="https://re.revolvermaps.com/j" code="core.RE" width="220" height="220" archive="g.jar">
<param name="cabbase" value="g.cab" />
<param name="r" value="true" />
<param name="n" value="false" />
<param name="i" value="4od8mlz96cs" />
<param name="m" value="0" />
<param name="s" value="220" />
<param name="c" value="ff0000" />
<param name="v" value="true" />
<param name="b" value="000000" />
<param name="rfc" value="true" /></applet></noscript>
in a text widget in the sidebar.
This way every page or post or archive will display this.
(Of course, then the post and the edit to sidebar.php can be removed)