outside the taxpayer’s household by a dependent care center (as defined in subparagraph (D)) shall be taken into account only if— (i) such center complies with all applicable laws and regulations of a State or unit of local government, and (ii) the requirements of subparagraph (B) are met. (D) Dependent care center defined For purposes of this paragraph, the term dependent care center means any facility which— (i) provides care for more than six individuals (other than individuals who reside at the facility), and (ii) receives a fee, payment, or grant for providing services for any of the individuals (regardless of whether such facility is operated for profit). (c) Dollar limit on amount creditable The amount of the employment-related expenses incurred during any taxable year which may be taken into account under subsection (a) shall not exceed— (1) $3,000 if there is 1 qualifying individual with respect to the taxpayer for such taxable year, or (2) $6,000 if there are two or more qualifying individuals with respect to the taxpayer for such taxable year. The amount determined under paragraph (1) or (2) (whichever is applicable) shall be reduced by the aggregate amount excludable from gross income under section 129 for the taxable year. (d) Earned income limitation Except as otherwise provided in this subsection, the amount of the employment-related expenses incurred during any taxable year which may be taken into account under subsection (a) shall not exceed— (1) in the case of an individual who is not married at the close of such year, such individual’s earned income for such year, or (2) in the case of an individual who is married at the close of such year, the lesser of such individual’s earned income or the earned income of his spouse for such year. (e) Special rules For purposes of this section— (1) Place of abode An individual shall not be treated as having the same principal place of abode of the taxpayer if at any time during the taxable year of the taxpayer the relationship between the individual and