ENYO-255: Re-implement legacy setCount method.

### Issue
The `setCount` method was removed during a code cleanup, but is still used by apps prior to 2.4.0.

### Fix
We re-implement the `setCount` method to provide legacy support.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>