MyPictureDB.count_pics_in_folder() corrected