How many four-digit numbers abcd exist such that a is odd, b is divisible by 3, c is even and d is prime?