psql -d cb -p 5002 -c "select count(build_id) as count,build_id from sensor_registrations group by build_id order by count desc;"
psql -d cb -p 5002 -c "select * from sensor_builds;"