@core_helper
def follow_count(obj_type, obj_id):
 obj_type = obj_type.lower()
 assert (obj_type in _follow_objects)
 action = ('%s_follower_count' % obj_type)
 context = {'model': model, 'session': model.Session, 'user': c.user}
 return logic.get_action(action)(context, {'id': obj_id})

@ core_helper def follow_count ( obj_type , obj_id ) : obj_type = obj_type . lower ( ) assert ( obj_type in _follow_objects ) action = ( '%s_follower_count' % obj_type ) context = { 'model' : model , 'session' : model . Session , 'user' : c . user } return logic . get_action ( action ) ( context , { 'id' : obj_id } )
return the number of followers of an object .