bitmap.get_count supports start and end bit