optimize num_seeds() and num_downloaders() to not count the peers every time

git-svn-id: http://libtorrent.googlecode.com/svn@10324 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda