Add counter of chapter, section and subsection