Does capital gains from a sale of a house count toward MAGI relative to the Affordable Care Act?

I understand that the gain won't be taxed because it is less than $500k (joint return) but don't know if it is counted as income for Affordable Care Act purposes.