Add cond write fail counter
Merge pull request #16 from y-higuchi/yoshi-master

Add cond write fail counter