title: Count the number of occurrences of a string in a row
body: <p>I have a combobox which contains different values:</p>
  
  <pre><code>public static DataTable GetStates()
      {
          DataTable myStates = new DataTable();
          myStates.Columns.Add("Name", typeof(string));
          myStates.Columns.Add("Location", typeof(string));
  
          myStates.Rows.Add("1", "USA");
          myStates.Rows.Add("2", "USA");
          myStates.Rows.Add("3", "Canada");
          return myStates;
      }
  </code></pre>
  
  <p>I want this to be in BindStates function which will count the number of occurences of "USA" and so on.</p>