# System.Text.RegularExpressions

``` diff
 namespace System.Text.RegularExpressions {
     public class Regex : ISerializable {
+        public int Count(string input);
+        public static int Count(string input, string pattern);
+        public static int Count(string input, string pattern, RegexOptions options);
+        public static int Count(string input, string pattern, RegexOptions options, TimeSpan matchTimeout);
     }
 }
```

