Let\'s say I have the following table structure:
t1 ------------- id // row id userID_follower // this user is a follows another member userID_following //
I think something like this should work:
select ownerID, count( distinct userID_follow), count(distinct userID_following) from t1 group by ownerID