def select_count_card(db_conn, sql_templates):
    """Return the number of cards."""
    sql = sql_templates['select_count_card']
    cursor = db_conn.cursor()
    result = cursor.execute(sql)
    (count,) = result.fetchone()
    cursor.close()
    return int(count)