# Data_Access::count_comments()

Comment count for a post.

```php
count_comments( int $post_id ): int
```

## Parameters

- `$post_id` (int) Post ID.

## Return

`int`
