counting the size
allowing custom class
more ignores