Add a phutil_count function
Summary: This function is a shorthand for new PhutilNumber(count($x)).
Test Plan: See next diff.
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: Korvin
Differential Revision: https://secure.phabricator.com/D14070