If I purchased health insurance on the individual market for 9 months, but worked as independent consultant for 4 months, would I be able to deduct for all 9 months?

Would I only deduct the 4 months during the time I was an independent contractor under the business expenses section of Schedule C, and then the rest someplace else? The remainder was while I was unemployed.