# JobShard.GetJobCountAsync

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/JobShard.cs#L133)

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