Show names of musicals and the number of actors who have appeared in the musicals by a pie chart.
CREATE TABLE musical (
    Musical_ID int,
    Name text,
    Year int,
    Award text,
    Category text,
    Nominee text,
    Result text
)

CREATE TABLE actor (
    Actor_ID int,
    Name text,
    Musical_ID int,
    Character text,
    Duration text,
    age int
)
SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID
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: Show names of musicals and the number of actors who have appeared in the musicals by a pie chart. ### Input: CREATE TABLE musical (
    Musical_ID int,
    Name text,
    Year int,
    Award text,
    Category text,
    Nominee text,
    Result text
)

CREATE TABLE actor (
    Actor_ID int,
    Name text,
    Musical_ID int,
    Character text,
    Duration text,
    age int
) ### Response: SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID