drive shaft length

I am putting a 440/727 into a 74 dart se. it currently has s6/904 in it. Everything that I have seen tells me to shorten the driveshaft approximately 4 inches. Never had to shorten a shaft before. I am sending it out to do it in the spring. Any help on length, how to measure etc. would be appreciated.