How many double squares can a string contain?

From MaRDI portal

WARNING: Page is not linked to a MaRDI-Entity. Please add Sitelink / Wikibase-link.