A Novel Way of Measuring the Gas Disk Mass of Protoplanetary Disks Using N2H+ and C18O