# JobShard.GetJobCountAsync

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

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/DurableJobs/JobShard.cs#L190)

```csharp
public 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.
