title: Breeze 1.4.6 - inlinecount on projection query being applied AFTER paging
body: <p>After upgrading to breeze 1.4.6 targeting the Web API 2, I believe that inlinecount on a projection query is being applied AFTER the paging.</p>
  
  <p>For example if I specify take(5) then <em>inlinecount is returning 5 even though the filter matches say 100 records</em>.</p>
  
  <p><strong>Can you confirm that this is a problem with breeze 1.4.6?</strong></p>
  
  <p>Looking at the code in QueryHelper it looks like this happens only when the odata query is modified to support such things as "selects" of "nested" properties.</p>
  
  <p>I have been able to reproduce the problem in a failing unit test:</p>
  
  <pre><code>/*********************************************************
  * inlineCount of projected paged products
  *********************************************************/
  test("inlineCount of projected paged products", 2, function () {
  
      // Filtered query
      var productQuery = EntityQuery.from("Products")
          .where("ProductName", "startsWith", "C");
  
      // Paging of that filtered query ... with inlineCount
      var pagedQuery = productQuery
          .select("ProductName, Category.CategoryName")
          .orderBy("ProductName")
          .skip(5)
          .take(5)
          .inlineCount();
  
      var productCount, pagedCount, inlineCount;
      var em = newEm();
      stop(); // going async
  
      // run both queries in parallel
      var promiseProduct =
          em.executeQuery(productQuery)
              .then(function (data) {
                  productCount = data.results.length;
              });
  
      var promisePaged =
          em.executeQuery(pagedQuery)
              .then(function (data) {
                  pagedCount = data.results.length;
                  inlineCount = data.inlineCount;
              });
  
      Q.all([promiseProduct, promisePaged])
          .then(function () {
              ok(inlineCount,
                  "'data' from paged query should have 'inlineCount'");
              equal(inlineCount, productCount,
                  "'inlineCount' should equal product count");
          })
          .fail(handleFail)
          .fin(start);
  });
  </code></pre>
  
  <p>A fix would be very welcome :-)</p>