For a given string, which count the number of numeric characters appear.
Input data input multiple rows, the first row n is an integer, indicates the number of test cases, followed by a string of n rows, each row comprises a combination of letters and numbers.
Output For each test case, the output value of the number of strings, each output per line. Sample Input
2 asdfasdf123123asdfasdf asdf111111111asdfasdfasdf
Sample Output
. 6 . 9
code is as follows: