Added implementation to get advisories and advisory count.