level and total counter in xml
^ implemented those