Generate C And C Code Counter