title: FQL - Count tagged photos with each friend
body: <p>I need to count the number of tagged photos you share with your friends from 2 years back.</p>
  
  <p>Currently I am calling the graph with </p>
  
  <pre><code>/me/photos?fields=id,tags,created_time&amp;limit=2000&amp;since=1284374555
  </code></pre>
  
  <p>This retrieves all my photos from the last two years...
  I then loop through all my photo tags, and use a counter to count the number of tags for each friend.</p>
  
  <p>This is pretty slow...</p>
  
  <p>I was wondering if it's possible to use a single FQL query to do this, and return a single array of all your friends, with these three attributes for each friend:</p>
  
  <pre><code>    name = Joe Bloggs //Friend name
      id = 7643785634 //Friend id
      tag_count = 45 //Tags you share with each other
  </code></pre>
  
  <p>I know this will be a fairly complex query. So any help is much appreciated.</p>