Lean Piece Counting