# Data_Access::get_poll_vote_counts()

Vote counts per option index for a post.

```php
get_poll_vote_counts( int $post_id, int $option_count ): array
```

## Parameters

- `$post_id` (int) Social post ID.
- `$option_count` (int) Number of poll options (from stored JSON).

## Return

`int[]` Indexed 0 … option_count - 1.
