created getAmountOfShiftSwapsAvailable method