search arrays working 2 and add count