Adjusting incrementSessionCount to use numberForKey for type safety.