That info is available in the totalCpu property in the ComputeResourceSummary object.
For one reason or another the VIC seems to always round this number down, hence the floor function in the script
$cluster = Get-Cluster <cluster-name> | Get-View
$totalCPUraw = $cluster.Summary.TotalCpu / 1000
$totalCPU = [math]::Floor($totalCPUraw)
write-host "Total CPU Resources:`t" ("{0:N0}" -f $totalCPU) "GHz"
Or as a one-liner
write-host "Total CPU Resources:`t" ("{0:N0}" -f ([math]::Floor((Get-Cluster <cluster-name> | Get-View).Summary.TotalCpu / 1000))) "GHz"