[Java/Python 3] 2/1 liners.
java\n    public int minElements(int[] nums, int limit, int goal) {\n        long diff = goal - IntStream.of(nums).mapToLong(i -> i).sum();\n        return (int
```java\n    public int minElements(int[] nums, int limit, int goal) {\n        long diff = goal - IntStream.of(nums).mapToLong(i -> i).sum();\n        return (int)((Math.abs(diff) + limit - 1) / limit); \n    }\n```\n```python\n    def minElements(self, nums: List[int], limit: int, goal: int) -> int:\n        return  (abs(goal - sum(nums)) + limit - 1) // limit\n```
[]