title: Get the total number of records when doing pagination
body: <p>To get a page from a database I have to execute something like this:</p>
  
  <pre><code>var cs = ( from x in base.EntityDataContext.Corporates
     select x ).Skip( 10 ).Take( 10 );
  </code></pre>
  
  <p>This will skip the first 10 rows and will select the next 10.</p>
  
  <p>How can I know how many rows would result because of the query without pagination? I do not want to run another query to get the count.</p>