Find the total number of binary operations on {a, b}