try to count during compilation