A Barban-Davenport-Halberstam asymptotic for number fields