In an IPL tournament, each of nine teams played exactly once with each other, but two of the matches were not played due to rain. The total number of matches played is:

a) 27
b) 36
c) 45
d) 63