Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given two 0-indexed strings s and target. You can take some letters from s and rearrange them to form new strings.
Return the maximum number of copies of target that can be formed by taking letters from s and rearranging them.
 
Please complete the following python code precisely:
```python
class Solution:
    def rearrangeCharacters(self, s: str, target: str) -> int:
```