Ebay 1099-k deductions

I sold about 100 items on ebay ($20,000) accumulated over the years.  At what point, $$$ or quantity of items, does the IRS consider the activity a business thereby allowing deductions and losses?