Add count() and replace()