Number of device groups

Number of device groups referring to the account or by homes?
Thanks

Multiple devices of the same type can be grouped into a device group. The number of device groups is relative to the account.