Graphs can be represented in two ways :-
1. Adjacency Matrix.
2. Adjacency List.
Edge existential property can be checked in $\Theta(1)$ time using Adjacency Matrix representation , but using adjacency list it has a worst case complexity of $O(deg(v))$ , deg(v) in worst case is n-1 , thus in worst case using adjacency list would take $O(n)$.
Counting total number of edges can be done using adjacency list in a more effective manner with TC of $O(V)$ , but with Adjacency Matrix it would take $O(v^{2})$