(self, uid, rdb)
return result
This will return the numerical count of reactions by user id
This will return the numerical count of reactions by user id
This will return the numerical count of reactions by user id
def count(self, uid, rdb):
        ''' This will return the numerical count of reactions by user id '''
        result = r.table('reactions').filter({'uid': uid}).count().run(rdb)
        return result
def count ( self , uid , rdb ) : result = r . table ( 'reactions' ) . filter ( { 'uid' : uid } ) . count ( ) . run ( rdb ) return result