For purposes of subsection (d), the term “gross investment income” means the gross amount of income from interest, dividends, payments with respect to securities loans (as defined in section
512
(a)(5)), rents, and royalties, but not including any such income to the extent included in computing the tax imposed by section
511. Such term shall also include income from sources similar to those in the preceding sentence.