Start with the hosts each VM is actually allowed to run on, not the number of vCenter instances. With Standard core licensing, fully licensing a host's physical cores gives it rights to run up to two Windows Server VMs. You can stack another full set of core licenses on that host for each additional two VMs.
If all 17 VMs can run on any of the five hosts, each host needs nine full sets. For the core counts given, that's 1,152 core licenses in total, or 72 sets of 16 core licenses. If the VMs are restricted to smaller groups of hosts, calculate each host for the maximum number that could run there instead.
Also check the licensing minimums, including 16 cores per server and 8 cores per processor. The math assumes your stated core counts meet those minimums.
Zuppy:
That maximum needs to account for failover and planned moves too, not just where the VMs happen to be running today.