Upon the consolidation of any railroad company there shall be paid to the Secretary of State a fee upon the capital stock of the combined company as in the organization of a new company; provided, that credit shall be given thereon for any charter fees paid by companies forming the consolidated company.