public static Long getFileLineNumber(@NonNull String filePath) {
        try (Stream<String> lines = Files.lines(Paths.get(filePath))) {
            return lines.count();
        } catch (IOException e) {
            throw CommonError.fileOperationFailed("SeaTunnel", "read", filePath, e);
        }
    }
@Test
    public void testGetFileLineNumber() throws Exception {
        String filePath = "/tmp/test/file_utils/file1.txt";
        filePath = filePath.replace("/", File.separator);
        writeTestDataToFile(filePath);

        Long fileLineNumber = FileUtils.getFileLineNumber(filePath);
        Assertions.assertEquals(100, fileLineNumber);
    }