@Override
  public ReturnCode filterCell(final Cell c) {
    this.count++;
    return filterAllRemaining() ? ReturnCode.NEXT_COL : ReturnCode.INCLUDE_AND_NEXT_COL;
  }
Simple filter that returns first N columns on row only. This filter was written to test filters
in Get and as soon as it gets its quota of columns, {@link #filterAllRemaining()} returns true.
This makes this filter unsuitable as a Scan filter.
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ColumnCountGetFilter.java