You should be able to identify all the bolts just looking - but you're going to have to pull the two for the collector, and the eleven for the combination manifold (yes, you have to pull them both - they also have a common gasket.)
While you've got this apart, it would be a good time to install injector orings, and if you have the silly QD fittings at the rail, don't forget to get renew kits for them as well.
I HIGHLY suggest that you cut new studs for the two ends and the centre out of 3/8"-16 brass allthread rod (you should be able to get some at your local hardware store) and get some brass or bronze bolts instead of the steel ones. Apply the "floatation test" to the bolts you take out - toss them in the water. If they float, keep them.
Get a couple 3/8"-16 nuts for the collector as well - you'll thank me the next time you have to take this to bits.
Make sure to clean the mating surfaces of the intake and the cylinder head (Scotch-Brite works well for this) and a THIN layer of RTV copper on both sides of the manifold gasket works wonders.
Get LocTite 272 to keep the bolts in.
Don't lose the washers - and replace any that are missing. You should end up with a washer on each bolt - they help to spread clamping force, and they're slightly springy - which helps to take bending stresses off the bolts (while it's not a lot, the fact that aluminum expands twice as much as iron/steel is significant from the bolt's point of view...)
I've said this a lot - get a 9/16" universal socket - the one with the universal joint built into the shallow socket. The extra inch of clearance you get is well worth it!
Since you don't say what year your XJ is - consider this optional... Applies to 1987-1990 w/4.0 only...
Remove the EGR tube and valve BEFORE you pull the manifolds - this will allow you to handle the two manifolds separately.
When reinstalling, set the manifolds in place FIRST, install the bolts LOOSELY (no Loc-Tite yet) and install and torque the EGR crossover tube. Install the EGR valve, then remove and retorque the manifold bolts - in order - and apply the LocTite 272. If you torque the bolts first, you'll spend about two hours trying to get that damn EGR tube to line up (don't ask how I know...)
5-90