Length measurement based on Pulse repetition interval of a femtosecond optical frequency comb