List items matching with family


I need to match fixtures according to the list of numbers, and placed to revit with coordinates,
(ex. there are 4 reccessed fixtures with Type 1 and 5 spot fixtures with type 2 )
Can anyone have an idea about that problem?

Check your warning. It looks like you have strings, not numbers.