add discussion comment counts, fix markasread, motion graphs