Be aware that if you have virtual machines in your database they will be incorporated into the count. If you're just looking for physical machines, you'll need to do a little more filtering.
If you're not sure, try this:
SELECT DISTINCT
tsysAssetTypes.AssetTypename,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
Count(tblAssets.AssetID) As [Count]
FROM
tsysIPLocations
INNER JOIN tblAssets ON tblAssets.IPNumeric >= tsysIPLocations.StartIP AND tblAssets.IPNumeric <= tsysIPLocations.EndIP
INNER JOIN tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID
INNER JOIN tsysAssetTypes ON tsysAssetTypes.AssetType = tblAssets.Assettype
INNER JOIN tblComputerSystem ON tblComputerSystem.AssetID = tblAssets.AssetID
WHERE
tblAssetCustom.State = 1
AND tblComputerSystem.Domainrole <= 1
GROUP BY
tsysAssetTypes.AssetTypename,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model
I have a couple of users with VMWare Workstation, so there are a few entries where the Manufacturer/Model fields reflect some virtual machines that have been noticed by LANSweeper. I'm not sure how VirtualBox, VirtualPC, Parallels and any other VMs are distinguished, but there's probably something you can use in either the Manufacturer or Model field.