On Windows, the easiest way to do this is to run ChkDsk. This will inform you of how many bad sectors are on the drive.
If you want...