Count method for Array controller

Implement count() method for array controller.
Strangely it wasn't there already :)
Update Array.php
Merge pull request #318 from DarkSide666/patch-1

Count method for Array controller