You can do that in gmail by adding a filter for the messages, and using it to automatically apply a label and skip the inbox.
Actually, one reason I never switched to Inbox was that it wouldn't show you an unread count for labels, so it broke this workflow for me.