Added rubyish array count methods.