Write a function to count digits in given string?
Login to Submit
Input: "boo456k" Output: 3 Input: "c9t" Output: 1 Input: "hello87" Output: 2