The short answer is 40, although connecting enough cameras to run 40 tests at the same time can be quite challenging.

However, ANY-maze can also be used in input/output only experiments (where there is no video tracking), such as operant conditioning. In these experiments running 40 tests simultaneously is easily achieved.