It's great that the two of you agreed to go to counseling. You are absolutely correct - most of our adult troubles stem from unresolved childhood issues. There is a lot of individual therapy to do to heal from those wounds and then to help each other through couples therapy. Communication is key and hope you are able to continue with the open lines of communication with each other now that you've broken the barrier.
It is not easy to repair a broken marriage, but it is possible. If there is a base layer of love, respect, and friendship between the two of you - you can make this work. Good luck in your journey.