Add the ability to search
Added count all function