Added python binding for RefCounted::refCount().

This is useful for some unit tests I'm writing to verify the correctness of some optimisation work in Gaffer.