apply data length after filter