# IJobShard.GetJobCountAsync

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.ijobshard/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.ijobshard/methods/)

```csharp
public abstract ValueTask<int> GetJobCountAsync()
```

Gets the number of jobs currently scheduled in this shard.

### Returns

A task that represents the asynchronous operation. The task result contains the job count.
