#4215 bugzilla - adding new use case Junit test for search count