I need some help with the following

HTML Code: 
I have my first tab named "tube data" with a count on the hidden sheet 2 with the above code in my final sheet. The only problem being is, it won't add the count and just leaves the code in the cell!

I have had this working.

Anybody have any ideas??