title: MySQL count rows with specific value
body: <p>I have a table like this: </p>
  
  <pre><code>id  status     user_id
   1  decline     8
   2  approved    7
   3  approved    7   
   4  decline     8
   5  decline     7
  </code></pre>
  
  <p>I want result like this:</p>
  
  <pre><code>accept_status decline_status user_id
     2                 1         7
     0                 2         8
  </code></pre>