Using some sizeof() magic to determine the amount of arguments seems just easier here

This way if you were to ever add or remove any you won't have to manually adjust the
amount parameter.