Well, unless I'm missing something, here it is:
string HtS = "10 11 1 2 ".Trim(); // removes the spaces at the end
int count = HtS.Count(x => x.Equals(' ')); // = 3 -> counting the spaces
string[] HSlist = HtS.Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries);
int elementsCount = HSlist.Length; // = 4