Improved examples in DocBlock.
Merge pull request #380 from marklocker/patch-1

Improved examples in DocBlock. (refs #4626)
redo of PR: Added Arr::count() helper (refs #4516)
Merge pull request #386 from melvinmt/bugfix/4516

redo of PR: Added Arr::count() helper (refs #4516)
Add $mode to Arr:count() method (refs #4516)