Part 1 of Article 180 of the Code of Civil Procedure of Ukraine provides that the defendant shall have the right to file a counterclaim in time for filing an appeal.