Золотов - Лабораторная работа #2

this call with 2 points used 4 times in your code 
```viewModel.getLog().size(); ``` 
you can create method ```getLogSize()``` for the ViewModel.
as for me, it would be more clear.