per il contatore puoi usare i div e illudere che sia li anche se in realtà è sempre e cmq nell'html