title: Is there a similar function in postgresql for mysql's SQL_CALC_FOUND_ROWS?
body: <p>everybody using mysql knows:</p>
  
  <pre><code>SELECT SQL_CALC_FOUND_ROWS ..... FROM table WHERE ...  LIMIT 5, 10;
  </code></pre>
  
  <p>and right after run this :</p>
  
  <pre><code>SELECT FOUND_ROWS();
  </code></pre>
  
  <p>how do i do this in postrgesql? so far, i found only ways where i have to send the query twice...</p>