SICP 2.35: Counting the Leaves of a Tree