title: Mysql : select count when id have multiple same value
body: <pre><code>+------+---------+
  | id   | object  |
  +------+---------+
  | 1    |    1    |
  | 1    |    2    |
  | 1    |    3    |
  | 1    |    4    |
  | 2    |    3    |
  | 2    |    4    |
  | 3    |    5    |
  | 3    |    3    |
  | 3    |    4    |
  +------+---------+
  </code></pre>
  
  <p>i want to select count id where have a same value, so the result be, id 1 have 4 same value, id 2 have 2 same value, id 3 have 3 same value .</p>
  
  <pre><code>+------+
  | id   | 
  +------+
  | 4    |  
  | 2    |   
  | 3    |  
  +------+
  </code></pre>
  
  <p>thanks for help, master.</p>