I want a galaxy count database, also how do I use SDSS skyserver to fetch galaxies?
You might find the NED database and Astrometry.net useful. NED is NASA's extragalactic database. You can search by a position in the sky with a radius and it will give you a list of known objects in that field.

Astrometry.net lets you upload images and will resolve what you're looking at, also giving you a list of known objects in your image.

I like to use CDS for a quick look up on objects. This will let you browse images from different surveys easily and links you to other sources on that object as well as publications about your object.