fix compressed in place count