added counts for number of problems and number of notes to the sidebar