#41 added notes count on details page