import cpp select count(Diagnostic d)