minor improvements to inbox count segment