You mean something like this ?
Get-Cluster|%{ $cluster=$_
$esx=Get-VMHost-Location$cluster
$esx|Select@{N="Cluster";E={$cluster.Name}},
@{N="ESXi in cluster";E={$esx.Count}},
Name,
@{N="NumCPU";E={($_|Get-View).Hardware.CpuInfo.NumCpuPackages}},
@{N="Cores";E={($_|Get-View).Hardware.CpuInfo.NumCpuCores}} }
You didn't specify in which layout you wanted the output, so I did it rather simple.