Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
When it comes to installation, there's no limit.
But when it comes to signing into your Microsoft account, only up to 5 devices can stay signed in at the same time. If you are going to sign into the 6th device for example, it will try to tell you, and you have the option to remove it from a device list shown to you.
Browser sign in doesn't count, because the browser version is always free, subscription or not.
Let me know if this clears up any confusion. If not, feel free to let me know if you have any other question on this topic.