Weak-lensing Power Spectrum Reconstruction by Counting Galaxies. I. The ABS Method