This is just an example don't know the run time results::
var z = from x in Table
where x.c = 2 and d = 4
select A = x.a, B = x.b ,D =x.d , E = x.D.Count()
But you can get idea from this
You also can take help from this link
How To: LINQ To SQL Transformations - Part II[
^]