For each id of a driver who participated in at most 30 races, how many races did they participate in. Plot them as scatter chart.
CREATE TABLE drivers (
    driverId INTEGER,
    driverRef TEXT,
    number TEXT,
    code TEXT,
    forename TEXT,
    surname TEXT,
    dob TEXT,
    nationality TEXT,
    url TEXT
)

CREATE TABLE circuits (
    circuitId INTEGER,
    circuitRef TEXT,
    name TEXT,
    location TEXT,
    country TEXT,
    lat REAL,
    lng REAL,
    alt TEXT,
    url TEXT
)

CREATE TABLE status (
    statusId INTEGER,
    status TEXT
)

CREATE TABLE constructors (
    constructorId INTEGER,
    constructorRef TEXT,
    name TEXT,
    nationality TEXT,
    url TEXT
)

CREATE TABLE lapTimes (
    raceId INTEGER,
    driverId INTEGER,
    lap INTEGER,
    position INTEGER,
    time TEXT,
    milliseconds INTEGER
)

CREATE TABLE qualifying (
    qualifyId INTEGER,
    raceId INTEGER,
    driverId INTEGER,
    constructorId INTEGER,
    number INTEGER,
    position INTEGER,
    q1 TEXT,
    q2 TEXT,
    q3 TEXT
)

CREATE TABLE races (
    raceId INTEGER,
    year INTEGER,
    round INTEGER,
    circuitId INTEGER,
    name TEXT,
    date TEXT,
    time TEXT,
    url TEXT
)

CREATE TABLE constructorStandings (
    constructorStandingsId INTEGER,
    raceId INTEGER,
    constructorId INTEGER,
    points REAL,
    position INTEGER,
    positionText TEXT,
    wins INTEGER
)

CREATE TABLE driverStandings (
    driverStandingsId INTEGER,
    raceId INTEGER,
    driverId INTEGER,
    points REAL,
    position INTEGER,
    positionText TEXT,
    wins INTEGER
)

CREATE TABLE pitStops (
    raceId INTEGER,
    driverId INTEGER,
    stop INTEGER,
    lap INTEGER,
    time TEXT,
    duration TEXT,
    milliseconds INTEGER
)

CREATE TABLE constructorResults (
    constructorResultsId INTEGER,
    raceId INTEGER,
    constructorId INTEGER,
    points REAL,
    status TEXT
)

CREATE TABLE seasons (
    year INTEGER,
    url TEXT
)

CREATE TABLE results (
    resultId INTEGER,
    raceId INTEGER,
    driverId INTEGER,
    constructorId INTEGER,
    number INTEGER,
    grid INTEGER,
    position TEXT,
    positionText TEXT,
    positionOrder INTEGER,
    points REAL,
    laps TEXT,
    time TEXT,
    milliseconds TEXT,
    fastestLap TEXT,
    rank TEXT,
    fastestLapTime TEXT,
    fastestLapSpeed TEXT,
    statusId INTEGER
)
SELECT T1.driverId, COUNT(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverId = T2.driverId JOIN races AS T3 ON T2.raceId = T3.raceId GROUP BY T1.driverId
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: For each id of a driver who participated in at most 30 races, how many races did they participate in. Plot them as scatter chart. ### Input: CREATE TABLE drivers (
    driverId INTEGER,
    driverRef TEXT,
    number TEXT,
    code TEXT,
    forename TEXT,
    surname TEXT,
    dob TEXT,
    nationality TEXT,
    url TEXT
)

CREATE TABLE circuits (
    circuitId INTEGER,
    circuitRef TEXT,
    name TEXT,
    location TEXT,
    country TEXT,
    lat REAL,
    lng REAL,
    alt TEXT,
    url TEXT
)

CREATE TABLE status (
    statusId INTEGER,
    status TEXT
)

CREATE TABLE constructors (
    constructorId INTEGER,
    constructorRef TEXT,
    name TEXT,
    nationality TEXT,
    url TEXT
)

CREATE TABLE lapTimes (
    raceId INTEGER,
    driverId INTEGER,
    lap INTEGER,
    position INTEGER,
    time TEXT,
    milliseconds INTEGER
)

CREATE TABLE qualifying (
    qualifyId INTEGER,
    raceId INTEGER,
    driverId INTEGER,
    constructorId INTEGER,
    number INTEGER,
    position INTEGER,
    q1 TEXT,
    q2 TEXT,
    q3 TEXT
)

CREATE TABLE races (
    raceId INTEGER,
    year INTEGER,
    round INTEGER,
    circuitId INTEGER,
    name TEXT,
    date TEXT,
    time TEXT,
    url TEXT
)

CREATE TABLE constructorStandings (
    constructorStandingsId INTEGER,
    raceId INTEGER,
    constructorId INTEGER,
    points REAL,
    position INTEGER,
    positionText TEXT,
    wins INTEGER
)

CREATE TABLE driverStandings (
    driverStandingsId INTEGER,
    raceId INTEGER,
    driverId INTEGER,
    points REAL,
    position INTEGER,
    positionText TEXT,
    wins INTEGER
)

CREATE TABLE pitStops (
    raceId INTEGER,
    driverId INTEGER,
    stop INTEGER,
    lap INTEGER,
    time TEXT,
    duration TEXT,
    milliseconds INTEGER
)

CREATE TABLE constructorResults (
    constructorResultsId INTEGER,
    raceId INTEGER,
    constructorId INTEGER,
    points REAL,
    status TEXT
)

CREATE TABLE seasons (
    year INTEGER,
    url TEXT
)

CREATE TABLE results (
    resultId INTEGER,
    raceId INTEGER,
    driverId INTEGER,
    constructorId INTEGER,
    number INTEGER,
    grid INTEGER,
    position TEXT,
    positionText TEXT,
    positionOrder INTEGER,
    points REAL,
    laps TEXT,
    time TEXT,
    milliseconds TEXT,
    fastestLap TEXT,
    rank TEXT,
    fastestLapTime TEXT,
    fastestLapSpeed TEXT,
    statusId INTEGER
) ### Response: SELECT T1.driverId, COUNT(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverId = T2.driverId JOIN races AS T3 ON T2.raceId = T3.raceId GROUP BY T1.driverId