title: DbExpressionBinding requires an input expression with a collection ResultType in ASP.NET MVC
body: <p>I'm getting this error DbExpressionBinding requires an input expression with a collection ResultType.  Still VERY green when it comes to using ASP.NET MVC so I am not understanding what is happening and why I am getting this error.  Been scouring forums but nothing is really making sense.  Using ADO.Net Entity Model.  Entity Framework 6.</p>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>readonly StatsEntity1 _db = new StatsEntity1();
  
  public ActionResult Index()
  {
      var statsC = (from n in _db.WKLY_STATSTC
                    where n.TERM == "14"&amp;&amp; n.GRP=="C"
                    select n.TERM into w
                    select new { Count = w.Count() });
  
      var statsN = (from n in _db.WKLY_STATSTC
                    where n.TERM == "14" &amp;&amp; n.GRP == "N"
                    select n.TERM into w
                    select new { Count = w.Count() });
  
      ViewBag.StatsC = statsC;
      ViewBag.StatsN = statsN;
      return View("Index");
  }
  </code></pre>
  
  <p><strong>View</strong></p>
  
  <pre><code>@model IEnumerable&lt;Reports.Models.WKLY_STATSTC&gt;
  &lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;@ViewBag.StatsC&lt;/td&gt;
          &lt;td&gt;@ViewBag.StatsN&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>