title: MySQL Distinct Records With Count
body: <p>I have a photos table, with two columns in that table named "id" and "user_id".  Obviously one user can have many photos.  I'd like to run a query that can give me the photo count for each user. </p>
  
  <p>Any help is appreciated.</p>