does anyone know why my facebook app isnt automatically showing me the little red number that indicates i have unread mail in FB?

it only shows if ive opened the FB app and there is inbox mail which i dont open/read. once i close the app it then shows the little red number. im wondering shouldnt this show up the way it does if your email has mail waiting to be read ?(sorry...hope that makes sense??)