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

You are given a 0-indexed string text and another 0-indexed string pattern of length 2, both of which consist of only lowercase English letters.
You can add either pattern[0] or pattern[1] anywhere in text exactly once. Note that the character can be added even at the beginning or at the end of text.
Return the maximum number of times pattern can occur as a subsequence of the modified text.
A subsequence is a string that can be derived from another string by deleting some or no characters without changing the order of the remaining characters.
 
Please complete the following python code precisely:
```python
class Solution:
    def maximumSubsequenceCount(self, text: str, pattern: str) -> int:
```