           followingCount  : @getAt('counts.following')
           oldFollower     : follower
         follower.updateFollowingCount()
-  
+
   fetchFollowing: (query, page, callback)->
     _.extend query,
       targetId  : @getId()

          default   : 0
    relationships   :
      activity      : CActivity
  
  count: bongo.secure (client, filter, callback)->
    unless @equals client.connection.delegate
      callback new Error 'Access denied'

        ids = (rel.sourceId for rel in docs)
        JAccount.all _id: $in: ids, (err, accounts)->
          callback err, accounts

  fetchFollowersWithRelationship: bongo.secure (client, query, page, callback)->
    @fetchFollowers query, page, (err, accounts)->
      if err then callback err else JAccount.markFollowing client, accounts, callback

  fetchFollowingWithRelationship: bongo.secure (client, query, page, callback)->
    @fetchFollowing query, page, (err, accounts)->
      if err then callback err else JAccount.markFollowing client, accounts, callback
