Apple interview question

Design an API (character count)