warn about stats in case there are no replicates
select elements of stream with a boolean function