Implementation of 'wc_c', 'wc_w' and 'wc_l' commands.