using System;
using System.Linq;
public class Program
{
public static void Main()
string str = "Techie Delight";
char ch = 'T';
int freq = str.Where(f => (f == ch)).Count();
Console.WriteLine(freq);
}