COUNTING THE NUMBER OF FAULT PATTERNS IN REDUNDANT VLSI ARRAYS