Vim is easier on the hands, but Emacs (with ido-mode) still feels better for working with multiple files:
(length (remove-if (lambda (b) (not (buffer-file-name b))) (buffer-list)))
42