public int size() {
    int size = 0;
    for (List<Cell> cells : getFamilyCellMap().values()) {
      size += cells.size();
    }
    return size;
  }
Number of KeyValues carried by this Mutation.
@return the total number of KeyValues
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java