Combinatorics of k-shapes and Genocchi numbers