Im using the usual counter for my book. That is, the theorems, lemmas, etc, are labeled according to the chapter and section (Ex Theorem 2.5.18).
I included an appendix just with the chapter title and it has no sections, the commands I set were
but the theorems,
def, etc in this chapter are labeled with things like "Theorem A.0.5.", I want that it be in the form "A.5", that is, ommit the section countering.