Compare query results with number of actually inserted sequences.