Number of safe 2-pin inputs