How to check number of records in impd-notify using ldapsearch