Run one-off SQL query

Databases
psql -d <db> -c "SELECT count(*) FROM users;"