title: breeze.js how to do sum on column values --- sum(UnitsInTotal)
body: <p>I am using ASP.NET MVC 4 with knockout and Breeze, and trying to sum a column value <code>(sum(UnitsInTotal))</code>.</p>
  
  <p>I can do it in Knockout foreach, but to avoid it in cshtml (I have my breeze based column filter's which works fine.), I would like to add it on my  Breeze based javascript code itself.  Any help ...</p>
  
  <pre><code>var serviceAddress = "breeze/Values",
      em = new breeze.EntityManager(serviceAddress),
      getProducts = function () {
          var query = new breeze.EntityQuery("Product");
          var promise = em.executeQuery(query);
          return promise;
      },
      getSumOfUnitsInTotal = function () {
          var query = new breeze,EntityQuery("Product").where...
          var promise=em.executeQuery(query);
          return promise;
  }
  </code></pre>
  
  <p>I am not sure , how to do <code>SUM(UnitsInTotal)</code> which is a column with numeric Data.
  I would like to know , how to write the Breeze query to get the SUM value. I am new to breeze.</p>