Changing the way that beaches_num is found