See how many unread emails you have in Inbox/Gmail tab icon.
After installing the chrome extension open Google Inbox/Gmail in Chrome. The extension will try to find out how many unread emails you have in your inbox from the html, if it can't it will poll the server.
MIT