How to check the size of String pool in Java? or Do we have any tools to see the String pool to see the literals how many it has?

Just to know how many literals have been stored as per the current program which has only one literal but what If I do use toLowerCase() which returns another string, will this another string also get stored into the String pool? or it will not untill it gets assigned to a string variable?