Remove dead code.
Print number of upgrade candidates.