#Dyalog APL, 10 bytes ⍎+≢+(+/⍎¨)
Takes string and returns
(+/⍎¨)
the sum of the evaluation of each character (digit)
+
≢
the length of the string
+
⍎
the evaluation of the entire string
#Dyalog APL, 10 bytes ⍎+≢+(+/⍎¨)
Takes string and returns
(+/⍎¨)
the sum of the evaluation of each character (digit)
+
≢
the length of the string
+
⍎
the evaluation of the entire string