Removed RecurseNumTotalFroms and refactored NumTotalFroms.