No Problem vijayviswa!
It does sound like a default issue. When count() is being used it is expecting an array() or an object that is countable. "Null" in this case would not be countable. My suggestion is what ever you are using to count() change the default value in the SQL database to something countable. For example numbers like 0 or 1 .
The reason why this error started to occur is because from PHP7.2 they decided to deprecate count() to not return a 0 but an error for non-countable types.
will now yield a warning on invalid countable types passed to the array_or_countable parameter.
Hope this helps!!