Add number of docs to logging
Actually Fix things this time