Returns 0 if empty string is passed in add method.