Split the frequency counter functionality out of the main block