Fix the implementation in `/app/solution.mjs`. Return an object counting each string. Preserve the exported `solve` API and run the available tests.
