Create a function that takes two strings, a and b. Return the number of times the two strings contain the same two letters at the same index. The two letters must appear at consecutive indices.
For example, if a = "bboiizz" and b = "bbuiiz", your function should return 3, since the "bb", "ii", and "iz" appear at the same place in both strings.
str_match_by2char("yytaazz", "yyjaaz") ➞ 3
str_match_by2char("innokodakademija", "ed") ➞ 1
str_match_by2char("", "") ➞ 0