Using partition counts from FRAME_COUNTS struct in the encoder. Change-Id: I6c3d47b00acabe7ffba22ffc73741173aa9a0bff