Shell script to capture a value from the log file and initiate some action based on that

Hi - I have korn script to execute a oracle job to process a data file . Here in the shell script we are a capturing all the activities in a log file(LOG_File) and we are capturing the record count like no of gets processed and rejected(variable in log file "Num of rejected records:" ). I'd like to trigger an email to the team when the total rejected record is more than 1.