Assuming that all search patterns start with 192, there are three main ways of counting the matches of a string exactly:
(1) Countif with wildcards:
=COUNTIF(A$2:A$9,"*"&C2&",*")+COUNTIF(A$2:A$9,"*"&C2)
(2) Find with isnumber and sum (or sumproduct):
=SUM(--ISNUMBER(FIND(C2&",",A$2:A$9&",")))
(3) Substitute with len and sum:
=SUM((LEN(A$2:A$9&",")-LEN(SUBSTITUTE(A$2:A$9&",",C2&",","")))/LEN(C2&","))
The results are as follows:

Countif counts once per row as long as the same IP address can't be repeated in the same row.
Find only counts once per row.
Substitute counts multiple occurrences per row.
If the above assumption doesn't hold (e.g. you want to search for 92.1.2.3 and still demand an exact match), then you would have the following:
(1) Using countif to count the number of lines containing the string, it's necessary to consider separate cases for when the string is on its own, at the start of a line, in the middle of a line, or at the end of a line. Assumes as before that there is no more than one occurrence per line:
=COUNTIF(A$2:A$9,C2)+COUNTIF(A$2:A$9,C2&",*")+COUNTIF(A$2:A$9,"*,"&C2&",*")+COUNTIF(A$2:A$9,"*,"&C2)
(2) Find still counts the number of lines containing at least one occurrence if the string is fully delimited:
=SUM(--ISNUMBER(FIND(","&C2&",",","&A$2:A$9&",")))
(3) I don't think you can count all occurrences including multiple occurrences in the same line with substitute in the general case because it becomes recursive (not without VBA or, if you had Excel 365, a lambda, but in that case you would use Filterxml anyway).