added iterable size
Implemented filter on iterable