zendframework/zf2 — pull request #6160 by halaxa (2014-04-18 13:23:02+00:00)
Title: 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.