validate number of stories convertion