Where does the Apple Watch app get its inbox count?

The suggestions on this thread have been used a few times to resolve some random occurrences of a lack of sync with a watch (varying types and OS levels).