How many planets exist around pulsar PSR1257? Maciej Konacki and Andrzej J. Maciejewski Institute of Astronomy Nicolaus Copernicus University 87-100 Torun, Chopina 12/18, Poland The aim of this paper is presentation of a new method for confirmation of existence of planets around a neutron stars. An analysis of modeled times of arrival (TOA) residuals shows characteristic features of theirs spectrum. Taking some ideas from the frequency analysis of J.Laskar we developed method that allows us to recover these effects directly from observation. For example, we are able to discover resonance effects having observations from time span shorter that the period of resonance. Using our method we analyse observation of PSR1257. We give very strong confirmation of existence of planets B and C in this system. In the same time we show that planet A cannot exist in this system.