This check doesn't handle the use case of having nothing selected (which was the issue in #3). On a blank document, pressing Cmd+E would tell you that there are "too many objects" selected, which is obviously not right :)