Note that getGlobalBounds will most likely not give you the desired result if the sprite is rotated.
You can, though, use something like this:
const sf::Vector2f spriteSize(
sprite.getTexture()->getSize().x * sprite.getScale().x,
sprite.getTexture()->getSize().y * sprite.getScale().y);