[impl] count cells - broken