I\'m getting this error
msg 8115, level 16, state 2, line 18 Arithmetic overflow error converting expression to data type int.
Very simple:
Use COUNT_BIG(*) AS NumStreams