Count number of NWR for each of the input sets

I have the follow Overpass Turbo query, and I would count number of NWR per each of the input sets. That is:

  1. number of NWR for Trader Joe’s
  2. number of NWR for Safeway

I tried many times, and still not sure how to make it, can someone help please?

(nwrbrand=“Trader Joe’s”;)->.TJ;

(.TJ; .SW;);

out skel center count;