Remove of count method on collections (2.6 compatibility)