Added a way to retrieve the number of files

Added a way to retrieve number of files, HOWEVER, only from a .torrent file. Magnet links give an assertion failed and the program crashes.