Using TC to count from GPIO

Oh that is helpful indeed, it would help reduce the frequency of the analyses (even if they are longer, frequency is what bothers me the most).