For things of the heart, I am the best potion yet,
If your head's in the clouds, I'm your best bet,
When measuring yards, I'm the whole thing,
If talking of cats, I'm a shield to death's sting,
I'm none of those things, but I number them well,
Figure then out and my name I will tell.
What am I?