using System;
public class Program
{
public static void Main()
string text = "Hello. What time is it?";
var arr = text.Split(' ');
var count = arr.Length;
Console.WriteLine(count);
}