const s = require("fs").readFileSync(0,"utf8").toString().trim(); console.log(s.replace(/c=|c-|dz=|d-|lj|nj|s=|z=/g,'*').length);