Adds ability to insert a counter and choose the table class on html output