title: Count cells of a DataGridView with the same value and display the result
body: <p>I have a DataGridview with 9 Columns and the last Column says "Finished".<br>
  This Column's values are: <code>Completed</code>, <code>In-Repair</code>, <code>Build In Progress</code>, <code>Not Started</code>.<br>
  I want to count how many <code>Completed</code> cells there are and display the result in a Label, such as: "23 Rows Show Completed".  </p>
  
  <p>I have tried everything I know but cannot get it to work.<br>
  I've tried using <code>System.Linq</code> and <code>for each</code> but I just can't get it to work.  </p>
  
  <pre><code>int xCount = dataGridView1.Rows
                    .Cast&lt;DataGridViewRow&gt;()
                    .Select(row =&gt; row.Cells["Finished"].Value.ToString())
                    .Count(s =&gt; s == "Completed");
                  lbl3.Text = xCount.ToString();
  </code></pre>