Iterators\Filter: count() counts only fitlered items

Fixes behaviour of count() method - now it counts only filtered items, not all items
Ok, I mised that its not returning iterator to previous state. Now I understand that could be problematic in some situations, so I close this PR.

Bug with count($iterator) is already reported (https://bugs.php.net/bug.php?id=60577).