It is known that for any non-empty set A, A x A x A is defined as :
A x A x A = {(a, b, c): a, b, c ∈ A}
It is given that A = {-1, 1}
∴ A x A x A = {(-1, -1, -1), (-1, -1, 1), (-1, 1, -1), (-1, 1, 1), (1, -1, -1), (1, -1, 1), (1, 1, -1), (1, 1, 1)}
Let $R$ be a relation defined on the set $\{1,2,3,4\times\{1,2,3,4\}$ by \[ R=\{((a,b),(c,d)) : 2a+3b=3c+4d\} \] Then the number of elements in $R$ is