------
## 最终结论
```python
def count_triples(A):
    count = 0
    for i in range(len(A)):
        for j in range(len(A)):
            for k in range(len(A)):
                if (A[i] & A[j] & A[k]) == 0:
                    count += 1
    return count
```