Update CActiveDataProvider.php

Counting entries if join or group used.