How many cards of legalities whose status is restricted have text boxes?
restricted refers to status = 'restricted'; have text boxes refers to is Textless = 0;
SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Restricted' AND T1.isTextless = 0