should return 0 matches when nothing in the data stream and should return one match when there is only one data.