ticket:9 add check that records count - digit
ticket:9 add realization