Учитывая следующее ...
int maxResults = 25;
string code = "Thailand";
var q = from i in images where i.component_code == code select i;
var images = q.OrderByDescending(x => x.image_rating).Take(maxResults);
if (images.Count() > 0)
{
...
lblResult = string.Format("Viewing {0} Images Of A Possible {1}", images.Count(), ?);
}
Как получить потенциальное общее количество изображений, которые были бы возвращены, если бы Take () не использовался