How many churches have a wedding in year 2016?
SELECT COUNT (DISTINCT church_id) FROM wedding WHERE YEAR  =  2016
number of churches = COUNT(DISTINCT church_id); have a wedding in year 2016 refers to WHERE YEAR = 2016;