Fixing count() in Spark Streaming

Previously when there was no data count() would not emit anything downstream.  This pull request fixes it so that under this condition 0 will be emitted.