I need to see the count of specific process userwise. For example I do 

```
ps -ef | grep apache

```

this lists all apache processes. Now I want a count of how many processes each user is running in Linux.

how can I get this.