Notation for "set of leaves of a tree" when leaves are "repeated"

165 Views Asked by At

Having this tree, I need to specify the number of leaves (6) and the set of leaves.

Question: is this the correct notation to specify the set of leaves when there are some repeated or is there another way to specify them?:
{ 5, 6, 2, 2, 2, 1}?

enter image description here