Twitch sandbox: broken examples

I created a new Twitch sandbox and started following the tutorial. The examples that use the "count{}" clause don't work

MATCH (g:Game)
RETURN g.name as game,
       count{ (g)<-[:PLAYS]-() } as number_of_streamers
ORDER BY number_of_streamers DESC
LIMIT 10

here's my error:

Invalid input '(': expected ",", ".", "}" or an identifier (line 3, column 15 (offset: 52))
"       count{ (g)<-[:PLAYS]-() } as number_of_streamers"
               ^