How many businesses in AZ state have the beer_and_wine attribute?
beer_and_wine refers to attribute_value = 'beer_and_wine';
SELECT COUNT(T1.business_id) FROM Business AS T1 INNER JOIN Business_Attributes AS T2 ON T1.business_id = T2.business_id WHERE T2.attribute_value LIKE 'beer_and_wine' AND T1.state LIKE 'AZ'