Repair counter method

Creating method of counter,
Changing main view’s text field size.