Removed unused popup code
Added iframe popup to show count