/**
* Gets unread comments count for a specific user.
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity to check comments for.
* @param int $uid
* The user ID to check.
* @param string|null $field_name
* Optional field name to filter comments.
*
* @return int
* Number of unread comments.
*/
public