If you have, for example, a blueprint with one Spot light component and one Point light component, if you count them using the Get Components by class node, you will get that you have 1 Spot light (correct) but 2 Point lights (incorrect):
Hmmm… so are there not a way to only select the point lights? or filter that “parent” class excluding childs? I supposed that, if the Get Components by Class node offers a list with Point Lights and Spot lights separately, they should be internally coded to be distinguishable.