Cells[i,1]:=inttostr(form4.ADOQuery1.SQL.Add('Select count(*) from chitateli where [datereg]="daten"'));