05AB1E, 5 4 bytes
Thanks a lot to OP! Now I can save a byte
ŸSΘO
Explanation
Ÿ Inclusive range
¨ Pop, remove the last item
S Split the string into individual chars
Θ (Vectorizes) Does this character == "1"?
O Sum the resulting list