Add function to return number of lines in a configuration file. Something feels weird about it though.