Matrix determiner counter