The path to the Ph. D :measuring graduate attrition in the sciences and humanities