文件目录

#include <iostream>
using namespace std;
int main()
{
    string s;
    getline(cin, s);
    int ans = 0;
    for (int i = 0; s[i]; i++)
        if (s[i] >= 48 && s[i] <= 57)
            ans++;
    cout << ans;
    return 0;
}