--- title: "Get Line Count" slug: "get-line-count" tags: ["csv", "excel", "line count"] updated: 2025-07-09T14:16:49Z published: 2025-07-09T14:16:49Z canonical: "documentation.decisions.com/get-line-count" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Line Count ## Overview | ## Step Details | | --- | | **Introduced in Version** | 5.0.0 | | **Last Modified in Version** | 5.0.0 | | **Location** | Data > Excel and CSV | The **Get Line Count** step outputs a count of the total number of **used** lines in an Excel/CSV file. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | File Type | The type of file being used by the step | CsvFileType | | Ignore First Row | Ignores the first row in the file | Boolean | | Input | The Excel or CSV file to pull the data from | FileData | | Worksheet Number | The Worksheet Number to get the line count from. The worksheet number starts at 1. | Int32 | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | | Output | Returns the total number of lines in the file | Int32 | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1699526602821.png) --- Related Forum Posts[Getting Values from an Excel File](https://community.decisions.com/discussion/25653/getting-values-from-excel-file-via-flow) Training Video: [Dynamic Excel Creation](https://www.youtube.com/watch?v=hcIiRwi_8wo) ## Related - [Split Excel Column](/split-excel-columns.md) - [Import Excel or CSV](/import-excel-or-csv-step.md) - [Print Excel Sheet To Pdf Step](/print-excel-sheet-to-pdf-step.md) - [Convert Excel or CSV to Dynamic Data Rows](/convert-excel-or-csv-to-dynamic-data-rows.md) - [Get Excel Row](/get-excel-row.md)