get beds count