Migrate NCLOC metric to SyntaxTree