7
I still don't know why it didn't work in the footer but this worked:
I tried entering the StatCounter code in the footer but it still did not work, so in the end I edited the system_block_mainmenu.html template, inserting the code straight after <!-- end module menu loop -->."
comes from the statscounter forums
jg123