It works as long as I avoid the WHERE stream_json ...
can this be fixed or does it require JOINS?
SELECT id, stuff,
(SELECT count(*)
FROM inner_table
WHERE inner_table.movie_id = outer_table.id)
AS stream_json
FROM outer_table
WHERE stream_json != 0