using System;
public class Program
{
public static void Main()
string str = "76783Iamzalatanibrahimovic10";
string sandar = "1234567890";
int counter = 0;
for (int i = 0; i < str.Length; ++i)
for (int j = 0; j < sandar.Length; ++j)
if (str[i] == sandar[j])
++counter;
Console.Write(counter);
Console.ReadLine();
}