Court documents: shooting victim hit 40 times with hatchet