(self, db, params)
return db.execute(qry, params).first()[0]
Get hit count for the passed link id
        :param db:
        :param params:
        :return:
Get hit count for the passed link id
        :param db:
        :param params:
        :return:
Get hit count for the passed link id : param db : : param params : : return :
def link_hit_count(self, db, params):
        """Get hit count for the passed link id
        :param db:
        :param params:
        :return:
        """
        qry = text("SELECT COUNT(*) FROM clickmeta WHERE link_id=:link_id")
        return db.execute(qry, params).first()[0]
def link_hit_count ( self , db , params ) : qry = text ( "SELECT COUNT(*) FROM clickmeta WHERE link_id=:link_id" ) return db . execute ( qry , params ) . first ( ) [ 0 ]