Counting the number of points on elliptic curves of characteristic greater than three