using System;
using System.Text.RegularExpressions;
class CountCharactersInStringWithoutSpacesAndSpecialCharacters_CSharp
{
static void Main()
{
string str = "8c# rust, java 123 c &c++.";
int result = Regex.Replace(str, "[^A-Za-z]", "").Length;
Console.WriteLine(result);
}
}
/*
run
11
*/