Code Metrics are completely new and exiting functionality in VS2008. It still needs a lot of work and integration scenarios to be provided from Microsoft, but it is there and you can use it. For the rest of the poor VS2005, VSS or plain file system users there is a custom add-in for Visual Studio 2005 that counts LOC using customizable counting rules. The tool is written by MicrosoftIT in partnership with Microsoft Research. You can download LOC counter here.