count-symbols
question answers
In both versions, addition of the local
doesn't fit
within the template for functions on list-of-numbers-and-symbols.
Additionally, in the first version, the local definition causes an error when
the list is empty.
Also, in the second version, adding the local definition does not
improve efficiency, since only one recursive call will be made anyway.