CollectionInputFilter->getCount() gives wrong count on consecutive setData() calls

If no count is explicitly set using setCount() on CollectionInputFilter, evaluated count($this->data) is saved and then served across different data set by setData() even if it its valid no more. This patch makes it not to save temporary value across different data.