add -n option to count bookmarks