Numbers: Countif with condition the content of a cell
I managed to find the syntax that works, but I was not allowed to post the answer. It should look like this: 

=COUNTIF(Table 1 :: B2:B337;"="&amp;T(A3))