The question about the correct use of there is vs there are pops up quite often.
However I couldn't find any reference to a case similar to the one below. My wife is writing a crochet pattern with the following sentence:
Count the stitches all around - make sure there is an odd number of stitches.
Word's grammar correction tool suggests: make sure there are an odd number of stitches.
I myself find the "there are" version more pleasing to the ear. However I think my wife is correct in stating that the subject should be considered to be odd number of stitches and not just stitches.
Which is correct?