Here is a plurals resource:
<plurals name="pens">
<item quantity="one">one pen</item>
<item quantity="other">%d pens</item>
</plurals>
Use the resource to return an appropriate string from the function howManyPens that takes the argument numberOfPens.
You have access to the
Resources instance through resources.