The number of lines in the list view of paste previously displayed the paste was 5 lines long if it was 5 lines or over. This correctly shows the snippet length.
This seems a little hacky to me since it loads in the entire file just to figure out the number of lines in it. From a performance standpoint this seems really bad but in practice it seems to be ok. Some other solutions would be don't display the line numbers at all as I'm not sure how useful they are although it is kinda nice to see. Change the schema to keep track of the number of lines in a file when you create/edit it so you can easily retrieve it from the PhabricatorPaste DAO.
Closes T11547