Counts lines of Java, excluding comments.