Microwave Frequency Measurement Based on an Optically Injected Semiconductor Laser