Added count to ledgen