Cow is right. You could do it in a 10" x 10". But since you have more than 30 conductors, you will have to derate everything per 310.15(B)(2)(a). If possible, I think I would try to divide everything up into 2 wireways with less than 30 current carrying conductors in each one so you would not have to derate.
You have 51 service conductors? Just a reminder that you cannot have feeder and branch circut wiring in the same raceway as service conductors.
art. 230.7 2005 nec