SELECT COUNT("year") FROM table_204_24 WHERE "league" = 'sunset league' AND "manager" = 'thomas lloyd'
what is the total number of years the sunset league was managed by thomas lloyd ?
CREATE TABLE table_204_24 (
    id number,
    "year" number,
    "league" text,
    "record" text,
    "finish" text,
    "manager" text,
    "playoffs" text,
    "notes" text
)