title: Use Any() and Count() in Dynamic Linq
body: <p>I am trying to write dynamic Linq Library query to fetch record on condition,
  Customers who has order count is greater than 3 and ShipVia field equal 2.</p>
  
  <p>Below is my syntax what i have tried.</p>
  
  <pre><code>object[] objArr = new object[10];
  objArr[0] = 1;
  IQueryable&lt;Customer&gt; test = db.Customers.Where("Orders.Count(ShipVia=2)", objArr);
  </code></pre>
  
  <p>and </p>
  
  <pre><code>IQueryable&lt;Customer&gt; test = db.Customers.Where("Orders.Any(ShipVia=2).Count()", objArr);
  </code></pre>
  
  <p>But both are not working. In second query Any returns true so it won't work with Count.
  Suggest  me a way to implement this.</p>