# PageCount<T>(IEnumerable<T>, Int32) Method
The number of pages of *pageSize* size in the given collection.
## Definition
**Namespace:** CapyKit.Extensions
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
**C#**
``` C#
public static int PageCount(
this IEnumerable source,
int pageSize
)
```
**F#**
``` F#
[]
static member PageCount :
source : IEnumerable<'T> *
pageSize : int -> int
```
#### Parameters