public int GetTrailCount(int year, int month) { return(Trails.Count(x => x.StartLocal.Year == year && x.StartLocal.Month == month)); }
// ================================================== // Helpers public int GetTrailCount(GeoCountryInfo country) { return(Trails.Count(x => x.Country.CountryID == country.CountryID)); }