Your answer suggests that some of the values do not exist in the table - so this approach will never be able to generate the rows.
One method could be to create a temp table with the values you want and then
LEFT JOIN
this to the main table:
SELECT b.NAME,
COUNT(a.NAME)
FROM (VALUES ('xxx'),('yyy'),('aaa'),('bbb'),('vvv')) as b(NAME)
LEFT JOIN TABLERA a ON a.NAME = b.NAME
GROUP BY b.NAME