After you installed the ProjectMetrics package you'll find a new item "Project metrics..." in the "Project" menu of the IDE. Clicking on it will open a form showing the number of code lines, comment lines and empty lines for the currently project loaded in the IDE, as total numbers and separated per project unit.