wrote method in user model to display friend count