Quantifying Emergence in Neural Networks: Insights from Pruning and Training Dynamics