Short || Clean || Simple || Java Solution
\nJava []\nclass Solution {\n    public int countPairs(List<Integer> nums, int target) {\n        int cnt = 0;\n        for(int i=0; i<nums.size(); i++){\n     
\n```Java []\nclass Solution {\n    public int countPairs(List<Integer> nums, int target) {\n        int cnt = 0;\n        for(int i=0; i<nums.size(); i++){\n            for(int j=i+1; j<nums.size(); j++){\n                if(nums.get(i) + nums.get(j) < target)  cnt++;\n            }\n        }\n        return cnt;\n    }\n}\n```
['Java']