I haven’t heard that, but if it’s true, it’s probably because he enjoyed math more than engineering or programming.

Computer science as a branch of mathematics has a long and fruitful history

Or to be more pithy, nobody accomplishes what Dijkstra did without liking their work. I’d say it’s zero people