[Python3] 1-line
\n\nclass Solution:\n    def minElements(self, nums: List[int], limit: int, goal: int) -> int:\n        return ceil(abs(goal - sum(nums))/limit)\n
\n```\nclass Solution:\n    def minElements(self, nums: List[int], limit: int, goal: int) -> int:\n        return ceil(abs(goal - sum(nums))/limit)\n```
['Python3']