How reliable are the 4.0L Jeep Cherokees?

Those are nice. Ive always wanted one. I hear the transmissions are garbage though.