(6)In computing the total income of any tax year under this section, any income of the estate of that tax year distributed to, or applied to the benefit of, any specific legatee of the estate during that tax year shall be excluded; but the income so excluded, shall be included in the total income of the tax year of such specific legatee.