Hi -
Try this, substituting table/field names as necessary:
TRANSFORM nz(Count(Switch([MaxLen]<8,"A",[MaxLen]<10,"B",[MaxLen]<13,"C",True,"D")),0) AS Cat
SELECT
Table2.Site
FROM
Table2
GROUP BY
Table2.Site
PIVOT Switch([MaxLen]<8,"<8",[MaxLen]<10,"<10",[MaxLen]<13,"<13",True,"<15")...