# struct.len()

Counts the keys in a structure.

```
struct.len( )
```

**Returns:** number

*This function does not take any arguments.*

# Examples

```cfml
	student = {
	    name:"student1",
	    id="1",
	    class:"A"
	};
	//structlen function is used to find the count of the struct
	count = student.len();
	echo("The count of the struct is " &count);
```

# Categories

[Structures](../../../categories/struct.md)

# See Also

[StructCount()](../../functions/structcount.md), [Struct](../struct.md)