Fixed c counter
Fixed readme
Amended def.h