[ticket/11447] Use SUM() to combine get_user_notification_stats queries into 1.

PHPBB3-11447