I contributed to my IRA/401K in both VA (not taxed) and NJ (taxed). I know the years, but not amounts. How do I calculate the amount already taxed in NJ for VA taxes?

I am using retirement income this year and would like to use the credits that Virginia offers on state taxes for the amount I've already paid when I lived in NJ.