added plotting of inbox count