code: func (m *Model) Count() Model {
  	count := Model{}
  
  	for ref, obj := range Map.objects {
  		if _, ok := obj.(mo.Entity); !ok {
  			continue
  		}
  
  		count.total++
  
  		switch ref.Type {
  		case "Datacenter":
  			count.Datacenter++
  		case "DistributedVirtualPortgroup":
  			count.Portgroup++
  		case "ClusterComputeResource":
  			count.Cluster++
  		case "Datastore":
  			count.Datastore++
  		case "HostSystem":
  			count.Host++
  		case "VirtualMachine":
  			count.Machine++
  		case "ResourcePool":
  			count.Pool++
  		case "VirtualApp":
  			count.App++
  		case "Folder":
  			count.Folder++
  		case "StoragePod":
  			count.Pod++
  		}
  	}
  
  	return count
  }
docs: // Count returns a Model with total number of each existing type