# Maths.HowManyBuckets delegate

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public delegate Maths.HowManyBuckets
```

Bucket resolver delegate.

**Signature:**

```cs
int Maths.HowManyBuckets(double lower, double upper, long count)
```

**Parameters:**

- `lower` ([double](https://learn.microsoft.com/dotnet/api/system.double)): Lower limit of values.
- `upper` ([double](https://learn.microsoft.com/dotnet/api/system.double)): Upper limit of values.
- `count` ([long](https://learn.microsoft.com/dotnet/api/system.int64)): Number of values.
