SELECT Class, COUNT(*) FROM race GROUP BY Class ORDER BY COUNT(*)
What are the different classes of races, and how many races correspond to each Show bar chart, order from low to high by the total number.
CREATE TABLE race (
    Race_ID int,
    Name text,
    Class text,
    Date text,
    Track_ID text
)

CREATE TABLE track (
    Track_ID int,
    Name text,
    Location text,
    Seating real,
    Year_Opened real
)