It is possible to do it in less time though if you fly frequently. Prices vary for the airplane and for instructors. Normally you are charged by time on a meter in the airplane called a Hobbs meter. It clicks off tenths of hours only when the engine is running. Again, this is just an estimate and your cost may vary.
Most people train over a six to twelve month period.
Flying is a physical skill as well as a mental skill. The greater the intensity of your training, the faster you will progress, and usually, the more money you will save. If you were able to fly a couple of hours every day, five days a week, you could complete your training in less than two months. Some instructors work freelance and not for the FBOs. In some locations, there may be an aero club that you can join.