title: Display count of Viewbag list items
body: <p>Hi is there a way to display a viewbag list  and show count</p>
  
  <p>Like: </p>
  
  <blockquote>
    <p>United Arab Emirates(8)<br>
    Angola(4)<br>
    Argentina(7)<br>
    Austria(0)<br>
    Belgium(11)</p>
  </blockquote>
  
  <p>Currently i have a Checkboxlist(costume helper) in view</p>
  
  <pre><code>@Html.CheckBoxList("checkedLocation", (ViewBag.country_list as MultiSelectList))
  </code></pre>
  
  <p>Only countries are displayed. Wud be great if the same list has counts
  Basically i have a company table with country fields. Just wanna show that in Brazil, ten companies are available like <b>Brazil(10)</b></p>
  
  <p>This how the <code>viwbag</code> is populated</p>
  
  <pre><code>List&lt;country&gt; listInfo2 = db.countries.Where(row =&gt; row.covered == 1).ToList();
  List&lt;string&gt; checkedValues = new List&lt;string&gt;();
  MultiSelectList checkedValuesList = new MultiSelectList(listInfo2, "country_name", "country_name", checkedValues);
  ViewBag.country_list = checkedValuesList
  </code></pre>