A single ticket may mention several order codes. Return ticket_id and code_count only for tickets containing at least two codes in the form KM-YYYY-NNNNNN; ignore letter case in the codes. Count only complete codes with four year digits and six number digits. Sort the rows by ticket_id ascending.