Add "first" and "last" helpers
Add type check to "first" helper
Add type check to "last" helper
Add "count" helper