Scoring D and total D