Implement filter_size method