Outline showing unread marks

Can someone point me to information on how to show the number of unread items against an outline entry - as happens in the mail file template?

thanks

Subject: Outline showing unread marks

The property is maintained on the embedded outline (on the form or page), not the outline or outline entry.