generates stats about the library by looking at the pseudo library