<?php
// pages/components/notifications_count.php
use Components\Data\Notifications;

$summary = Notifications::getPollSummary();
header('Content-Type: application/json');
echo json_encode($summary);
exit;
