add count methods to cells