Pyth, 36 bytes
s/RC-QTrV"2FUdnx ª¾""Qjy¡°¿Éâû
Explanation
"... # String literal with end of ranges minus 10 as characters
"..." # String literal with start of ranges minus 10 as characters
rV # Generate the ranges
/R # Count occurrences of
C-QT # input minus 10 converted to a characters (based on ascii value)
# in each of the ranges
s # sum