Code example for StaticLayout

Methods: getLineCount