refactoring: Special method that runs plain query and returns scalar result added into DB connection class