Costco, which reported fourth-quarter results Thursday, last raised its annual membership in 2017.