This for else if stuff makes my brain hurt, have no idea how to make this math stuff chooch, help me brother

package com.codegym.task.task04.task0429;
/*
Positive and negative numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
int arr[] = {a,b,c};
int count = 0;
for(int i = 0; i < 3; i++){
if(arr[i]>0) {
count += 1;
}
else if (arr[i]<0){
count+=0;
}
}
System.out.println("Number of negative numbers: " + (3-count));
System.out.println("Number of positive numbers: " + count);
}
}

1, 0, 3count would equal 2 in this as both inputs1and3are greater than 0 at line 29, count(2) would be subtracted from 3, equaling 1 but should be 0 because no negative number was input, and the outputs would be: "Number of negative numbers: 1" <<correct output for this example "Number of negative numbers: 0""Number of positive numbers: 2" Using 2 different variables you can modify the code to add 1 to posCount if the number is greater than 0, and add 1 to negCount if the number is less than 0; then use those variables as the output variable