refactor addContact, delete and getCounter module

delete blank line