def METHOD_NAME(engine, measure_from):
    sql = u'''
        SELECT p.id,
                p.name,
                COALESCE(SUM(s.count), 0) AS total_views
            FROM package AS p
            LEFT OUTER JOIN tracking_summary AS s ON s.package_id = p.id
            WHERE s.tracking_date >= %(measure_from)s
            GROUP BY p.id, p.name
            ORDER BY total_views DESC
    '''
    return [
        _ViewCount(*t) for t in engine.execute(
            sql, measure_from=str(measure_from)
        ).fetchall()
    ]