It returns the number or terminal tips that actual compartment will lead to. The terminal_degree of the soma is the number of terminal tips of the entire neuron, the terminal_degree of a terminal tip is 1.