List all the devices
select * from device
How many are there?
select count(*) from device