Added the Compile-time counter

- Also added the first test cases for the ct-counter.