title: How to use querydsl's own table alias and count(*) function
body: <p>I would like to utilize the code below for querydsl. But there is a problem.</p>
  <pre><code>SELECT num, name, score, (
      SELECT COUNT( * ) +1
      FROM ranking
      WHERE score &gt; t.score
  ) AS rank
  FROM ranking AS t
  ORDER BY rank ASC 
  </code></pre>
  <ol>
  <li>In score &gt; t.score , how do I change t.score, which is an alias for myself, into code?</li>
  <li>How do I apply count(*) in querydsl? Can I use it like count(score)?</li>
  </ol>