ended function

How many surveys were ended?