This should just be a simple count:
var myEnumerable = [new {id=1,arr=[1,2,3,4]},new {2,[1,2,3]},new {3,[1,2,3,4,5,6]}];
var countedFlat = myEnumerable.Select(a=>new {a.id,count = a.arr.Count()});
foreach(var anon in countedFlat)
{
Console.WriteLine("id:{0} - count:{1}",anon.id,anon.count);
}
output
id:1 - count:4
id:2 - count:3
id:3 - count:6