In the battle of Gettysburg 152 confederate cannons in the battle of Gettysburg, the Union won. The Confederates lost a massive amount of soldiers in Picket's Charge. The battle raged on for 3 days.