counting the relationship 'Friend' from key-value pair available in social network dataset