Added async version of GetNumLights.