Text this: Skyrmion number for a generalized vector Poincaré beam