initial rough cut of simple get counts function