trimming whitespace when parsing number of databases property in the
configuration file