in reply to Count number of lines in a text file

Here's yet another golf variation, provided there's only one filename and that's a real filename (not a glob or something you can give to the two-arg open):

exec wc,-ll,pop