Count the number of matched F0 and F7 values in a binary file