title: How to tell count of non-empty strings in string array
body: <p>I have a string that is pipe delimited:</p>
  
  <pre><code>string line = "test|||tester||test||||||test test|"
  </code></pre>
  
  <p>I am reading this intro a string array:</p>
  
  <pre><code>string[] wordsArr = line.Split(new string[] { "|" }, StringSplitOptions.None);
  </code></pre>
  
  <p>My goal is without manually writing a loop myself if there is a way built into the framework to see how many items in the array are not empty. Also I can't use the <code>RemoveEmptyEntries</code> property on the <code>StringSplitOptions</code> b/c where items fall within the pipes matter.</p>
  
  <p>Any ideas?</p>