First commit for frequency counter