Yes Avast works well on Terminal Server.
Not sure about the cloud version license, but in traditional on-prem suites each user connecting to the server was considered a node.
So one terminal server with 10 users would be 10 nodes/users. But if they each had an existing workstation with avast that would already count (its not counted twice)