Best you can do is use the "Select" feature. At the bottom of the screen see the icon that looks like check marks next to lines? Tao that. Select the check mark boxes of a bunch of SPAM and then delete in bulk.
Also, if you have 6,000 Spam emails it might be time to consider abandoning that email account and transitioning to a new one.