> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Line Count • Rust AI Agent SDK

> line_count: Get line count.

# line\_count

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**LineRange**](../classes/LineRange) class in the [**context**](../modules/context) module.

Get line count.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def line_count(&self) -> usize
```

### Returns

<ResponseField name="Returns" type="usize">
  The result of the operation.
</ResponseField>
