ad-nilpotent ideals containing a fixed number of simple root spaces