[Olena-patches] 1943: Add a max tree node counter for Mathhieu.