<commit_before>#SMS Counter (PHP)
Character counter for SMS Messages
Original insipration : [danxexe/sms-counter](https://github.com/danxexe/sms-counter)

##Usage
```php
SMSCounter::count('some-string-to-be-counted');	
```<commit_msg>usage example<commit_after>#SMS Counter (PHP)
Character counter for SMS Messages
Original insipration : [danxexe/sms-counter](https://github.com/danxexe/sms-counter)

##Usage
```php
SMSCounter::count('some-string-to-be-counted');	
```
which returns
```
	stdClass Object
	(
		[encoding] => GSM_7BIT
		[length] => 25
		[per_message] => 160
		[remaining] => 135
		[messages] => 1
	)
```
{'fraction_non_alphanumeric': 0.17179902755267423, 'fraction_numerical': 0.01620745542949757, 'mean_word_length': 5.4375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6355736', 'n_tokens_mistral': 254, 'n_tokens_neox': 223, 'n_words': 43}